import {get,post} from '@/libs/axios'

const activityGoods = {
    // 分页列表
    page(queryData){
        return get('/activityGoods/page',queryData)
    },
    // 单条信息
    info(id){
        return get('/activityGoods/info',{id:id})
    },
    // 保存
    save(formData){
        return post('/activityGoods/save',formData)
    },
    changeStore(formData){
        return post('/activityGoods/change',formData)
    },
    // 上线状态
    status(id,status){
        return post('/activityGoods/status',{'id':id,'status':status})
    },
    // 删除
    del(id){
        return post('/activityGoods/delete',{id:id})
    }
}

export default activityGoods
